package com.zyy.api.service.feign.index;

import com.zyy.api.pojo.LabelInfo;
import com.zyy.api.pojo.LabelNewsInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author zhangyangyang
 * @createTime 2023420 10:02
 * @description 指数标签
 */
@FeignClient(value = "index", path = "/label")
public interface IndexService {

    /**
     * 核心打标接口
     * @param info
     * @return
     */
    @PostMapping("/analysisLabel")
    List<LabelInfo> analysisLabel(@RequestBody LabelNewsInfo info);
}
